package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.Exhibition;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IExhibitionService {
    List<Exhibition> list();

    PageInfo<Exhibition> page(BaseRequest baseRequest);

    PageInfo<Exhibition> userPage(BaseRequest baseRequest);

    void save(Exhibition exhibition);

    Exhibition getById(Integer id);

    void update(Exhibition exhibition);

    void deleteById(Integer id);

}
